<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
</head>
<body>
<div th:text="test">
</div>
<div th:text="${msg}">
</div>
<p th:text="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd HH:mm:ss')}">time</p>
<form th:action="@{/user/addUser}" method="post">
    用户名：<input type="text" name="username"/><br/>
    年龄：<input type="text" name="age"/><br/>
    <input type="submit" value="确定"/><br/>


</form>
</body>